#ifndef ENTITYWIDGET_H
#define ENTITYWIDGET_H

#include <core/entity.h>

#include <QtGui>

namespace Opl
{
	namespace Core
	{

		class CORE_EXPORT EntityWidget : public QWidget, public Entity
		{
				Q_OBJECT
				Q_PROPERTY(QVariant tag READ tag WRITE setTag);
				Q_PROPERTY(QUuid unique READ unique);
				Q_PROPERTY(QDateTime unique READ stamp);
			public:
				EntityWidget(EntityWidget* parent);
				virtual ~EntityWidget();
				virtual QString toString();
		};

	};
};

#endif // ENTITYWIDGET_H
